package com.teensoft.core.user;

import com.teensoft.base.exception.DAOException;
import com.teensoft.core.user.User;

public interface UserDAO {

	public User getById(String id) throws DAOException;
	
	public User getByEmail(String email) throws DAOException;
	
	public void addUser(User user) throws DAOException;
	
	public void deleteUserById(String id) throws DAOException;
	
	public void deleteUserByEmail(String email) throws DAOException;
	
	public void updateUser(User user) throws DAOException;
}
